package com.jd.beans;

import java.io.Serializable;

public class Goods implements Serializable, Comparable<Goods>{

	private String id;
	
	private String title;
	
	private String price;
	
	private String stars;
	
	private String buttons;
	
	private String imageUrl;
	
	private String ratePrice;
	
	private String actCount;
	
	public String getActCount() {
		return actCount;
	}

	public void setActCount(String actCount) {
		this.actCount = actCount;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getStars() {
		return stars;
	}

	public void setStars(String stars) {
		this.stars = stars;
	}

	public String getButtons() {
		return buttons;
	}

	public void setButtons(String buttons) {
		this.buttons = buttons;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getRatePrice() {
		return ratePrice;
	}

	public void setRatePrice(String ratePrice) {
		this.ratePrice = ratePrice;
	}

	@Override
	public int compareTo(Goods o) {
		return o.getActCount().compareTo(this.actCount);
	}
	
}
